<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2019/11/15
 * Time: 16:38
 */

namespace app\common\service;


use think\Db;

class AttackData
{

    /**
     * @name 查询所有数据包
     * @param $condition
     * @return array|null|\PDOStatement|string|\think\Model
     * @author wx
     * @date 2019/11/15 16:46
     */
    public function findAllDataPackage($condition)
    {
        return Db::name('attack_data')->field('id,atime,data_package')->where($condition)->select();
    }
}